package com.studentSystem.service;

import com.studentSystem.pojo.Course;
import com.studentSystem.utils.PageBeanUtil;

import java.util.List;

public interface CourseService {
    PageBeanUtil<Course> getAllCourse(Integer pageNum, Integer pageSize, Long id, String name, Long teacherId);

    void delete(Long id);

    void add(Course course);

    void update(Course course);

    Course getById(Long id);

    List<Course> getAllCourses();
}
